import java.util.*;

public class qihao01 {
    public static void main(String[] args) {
        Map<String, ArrayList<String>> hm =new HashMap<>();
        ArrayList<String> list = new ArrayList<>();
        Collections.addAll(list,"周口","郑州","洛阳","许昌");
        ArrayList<String> list1 = new ArrayList<>();
        Collections.addAll(list1,"石家庄","唐山","形态","保定");
        ArrayList<String> list2 = new ArrayList<>();
        Collections.addAll(list2,"扬州","苏州","无锡","常州");
        hm.put("河南",list);
        hm.put("河北",list1);
        hm.put("南京",list2);
        Set<Map.Entry<String, ArrayList<String>>> entries = hm.entrySet();
        Iterator<Map.Entry<String, ArrayList<String>>> it = entries.iterator();
        while (it.hasNext()){
            Map.Entry<String, ArrayList<String>> next = it.next();
            String key = next.getKey();
            ArrayList<String> list3 = next.getValue();
            System.out.println(key+"="+list3);
        }
    }
}
